/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package net.worlds.ui.edge;

import java.awt.Color;


public class EMenuItem extends ELabel{
    public EMenuItem(String text)
    {
        super(text);
        setHoverColor(new Color(197, 203, 217));
    }
    @Override
    public void mousePressed()
    {
        super.mousePressed();
        if(parent instanceof EMenu)
            ((EMenu)parent).setVisible(false);
    }
}
